package DesignPatterns.Command;

/**
 * @author: leiwenkang02@meituan.com
 * @date: 2018/11/18
 * @time: 11:02
 */
public class Invoker {

    private Command command;

    public Invoker(Command command) {
        this.command = command;
    }

    public void executeCommand() {
        command.execute();
    }
}
